﻿namespace MicroCloud.Systems.Dtos
{
    [MapFrom(typeof(DictEntry))]
    public class DictEntryOutputDto : IOutputDto
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 获取或设置 字典主键
        /// </summary>
        public Guid DictId { get; set; }

        /// <summary>
        /// 获取或设置 编码名称
        /// </summary>
        public string CodeName { get; set; }

        /// <summary>
        /// 获取或设置 编码值
        /// </summary>
        public int CodeValue { get; set; }

        /// <summary>
        /// 获取或设置 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int OrderNo { get; set; }

        /// <summary>
        /// 获取或设置 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 获取或设置 更新时间
        /// </summary>
        public DateTime? UpdatedTime { get; set; }
    }
}